

/*
* Copyright @ 2017 com.iflysse.trains
* crm 下午4:59:31
* All right reserved.
*
*/
	
package com.qf.pojo;

import java.util.List;

/**
* @desc: crm
* @descripe:XXXX
* @author: 周锐
* @createTime: 2017年7月24日 下午4:59:31
* @history:
* @version: v1.0

*/

public class PageBean {
    private int page;//当前页
    private int size;//页数
    private int totalpage;//总页数
    private List<CrmDepartment> departments;
	
	/**
	*/
		
	public PageBean() {
		
		super();
		//TODO 
			
	}

	
	/**
	* @param page
	* @param size
	* @param totalpage
	* @param departments
	*/
		
	public PageBean(int page, int size, int totalpage, List<CrmDepartment> departments) {
		super();
		this.page = page;
		this.size = size;
		this.totalpage = totalpage;
		this.departments = departments;
	}


	
	/**
	* @return the page
	*/
	
	public int getPage() {
	
		return page;
	}


	
	/**
	* @param page the page to set
	*/
	
	public void setPage(int page) {
	
		this.page = page;
	}


	
	/**
	* @return the size
	*/
	
	public int getSize() {
	
		return size;
	}


	
	/**
	* @param size the size to set
	*/
	
	public void setSize(int size) {
	
		this.size = size;
	}


	
	/**
	* @return the totalpage
	*/
	
	public int getTotalpage() {
	
		return totalpage;
	}


	
	/**
	* @param totalpage the totalpage to set
	*/
	
	public void setTotalpage(int totalpage) {
	
		this.totalpage = totalpage;
	}


	
	/**
	* @return the departments
	*/
	
	public List<CrmDepartment> getDepartments() {
	
		return departments;
	}


	
	/**
	* @param departments the departments to set
	*/
	
	public void setDepartments(List<CrmDepartment> departments) {
	
		this.departments = departments;
	}
    
}

	